Skip to content

Conversation

BakhtiyorBahriddini
Copy link

No description provided.

@aafemt
Copy link
Contributor

aafemt commented Jul 29, 2024

Skipping whole print is not a good idea. I would suggest to use

if (seconds == 0)
  seconds = 1;

in the beginning of this routine instead.

@mrotteveel mrotteveel changed the title Checking devision by zero Checking division by zero Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants